package com.ymttest.database.sqlwapper.godfreight;

import com.ymt.database.SqlManager;
import com.ymttest.database.model.seller_freight_config;
import com.ymttest.utils.EnvSetup;

import java.util.List;

public class seller_freight_configWapper {
	SqlManager manager;

    public seller_freight_configWapper() {
        manager = new SqlManager("mysqlgodfreight" + EnvSetup.getEnv());
    }
    
    public seller_freight_config selectByPrimaryKey(int userId) {
        List<seller_freight_config> seller_freight_config = manager.getSelectResults(
                        "com.ymttest.database.mapping.godfreight.seller_freight_configMapper.selectByPrimaryKey",userId);
        manager.commit();
        return seller_freight_config.get(0);
    }
    
    

    public static void main(String[] args) {
        seller_freight_configWapper seller_freight_configWapper = new seller_freight_configWapper();
        seller_freight_config seller_freight_config = seller_freight_configWapper.selectByPrimaryKey(820214927);
        System.out.println(seller_freight_config);
    }
}
